﻿<div class="jumbotron">
    <h1>Wiki Parser</h1>
    <p class="lead">Wiki Parser is a web based parser which can be used to convert text from the Wiki format to HTML.</p>
    <p><a href="@Url.Action("Index", "Help")" class="btn btn-primary btn-large">Learn more &raquo;</a></p>
</div>
<div class="row">
    <div class="col-md-12">
        <ul class="nav nav-tabs" id="console-nav">
            <li><a href="#" data-target="panel-content-source"><span class="glyphicon glyphicon-cog"></span> Source</a></li>
        </ul>
        <div class="panel panel-default output-console">
            <div class="panel-body" id="panel-content">

            </div>
            <div class="panel-footer clearfix">
                <div class="btn-group pull-right">
                    <!-- Change the wording using a title tag -->
                    <input name="sourceFile" type="file" id="source-upload-control" title="Upload Source" data-action="@Url.Action("Upload")">
                    <div class="input-group-btn">
                        <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Parse <span class="caret"></span></button>
                        <ul class="dropdown-menu">
                            <li><a href="#" class="btn-parse" data-parser="ToWiki">To Wiki</a></li>
                            <li><a href="#" class="btn-parse" data-parser="ToHtml">To Html</a></li>
                        </ul>
                    </div><!-- /btn-group -->
                </div>
            </div>
        </div>
    </div>
</div>

@Html.Partial("_Source")
@Html.Partial("_Wiki")
@Html.Partial("_Html")
@Html.Partial("_Preview")
@Html.Partial("_Download")